<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Karamelo: Material Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="karamelodoxy.css" rel="stylesheet" type="text/css">
<!--  -->
<script type="text/javascript" src="karamelo_navtree_hacks.js"></script>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.karamelo.org"><img alt="Logo" src="Karamelo_logo.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname"><a href="http://www.karamelo.org">Karamelo</a>
   &#160;<span id="projectnumber">714599e9</span>
   </div>
   <div id="projectbrief">Parallel Material Point Method Simulator</div>
  </td>
   <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classMaterial.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="classMaterial-members.html">List of all members</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a>  </div>
  <div class="headertitle">
<div class="title">Material Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Stores all the user defined Equations of State, elasto-plastic, damage, and temperature laws as well as the different materials which are a combination of the formers. </p>
</div><div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for Material:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classMaterial__inherit__graph.png" border="0" usemap="#Material_inherit__map" alt="Inheritance graph"/></div>
<map name="Material_inherit__map" id="Material_inherit__map">
<area shape="rect" id="node2" href="classPointers.html" title="{Pointers\n|# domain\l# error\l# group\l# infile\l# input\l# logfile\l# material\l# memory\l# modify\l# mpm\l# output\l# universe\l# update\l# wlogfile\l|+ Pointers()\l+ ~Pointers()\l}" alt="" coords="25,5,124,288"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:aaaafdc8f9eee314481297ab859397460"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMaterial.html#aaaafdc8f9eee314481297ab859397460">constitutive_model</a> { <br />
&#160;&#160;<a class="el" href="classMaterial.html#aaaafdc8f9eee314481297ab859397460a2b2391eb59d443b5f234d565b0f87bba">LINEAR</a>, 
<br />
&#160;&#160;<a class="el" href="classMaterial.html#aaaafdc8f9eee314481297ab859397460aeef7335a2f307bf151738e4ed5eac79b">NEO_HOOKEAN</a>, 
<br />
&#160;&#160;<a class="el" href="classMaterial.html#aaaafdc8f9eee314481297ab859397460a248d5834afd9f38e70226a30c25c22a8">SHOCK</a>, 
<br />
&#160;&#160;<a class="el" href="classMaterial.html#aaaafdc8f9eee314481297ab859397460a2eff4c5b77d7ca1e43903011ab31e3c1">RIGID</a>
<br />
 }</td></tr>
<tr class="separator:aaaafdc8f9eee314481297ab859397460"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aa48eb6c06a277342afc0d5d18e1e1ef3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMaterial.html#aa48eb6c06a277342afc0d5d18e1e1ef3">add_damage</a> (vector&lt; string &gt;)</td></tr>
<tr class="memdesc:aa48eb6c06a277342afc0d5d18e1e1ef3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new Damage.  <a href="#aa48eb6c06a277342afc0d5d18e1e1ef3">More...</a><br /></td></tr>
<tr class="separator:aa48eb6c06a277342afc0d5d18e1e1ef3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78f141aa4bab81408ab06015bd908993"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMaterial.html#a78f141aa4bab81408ab06015bd908993">add_EOS</a> (vector&lt; string &gt;)</td></tr>
<tr class="memdesc:a78f141aa4bab81408ab06015bd908993"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new <a class="el" href="classEOS.html">EOS</a>.  <a href="#a78f141aa4bab81408ab06015bd908993">More...</a><br /></td></tr>
<tr class="separator:a78f141aa4bab81408ab06015bd908993"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e2635c9cb9e24665da79cfdf9b4ce03"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMaterial.html#a9e2635c9cb9e24665da79cfdf9b4ce03">add_material</a> (vector&lt; string &gt;)</td></tr>
<tr class="memdesc:a9e2635c9cb9e24665da79cfdf9b4ce03"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new <a class="el" href="classMaterial.html">Material</a>.  <a href="#a9e2635c9cb9e24665da79cfdf9b4ce03">More...</a><br /></td></tr>
<tr class="separator:a9e2635c9cb9e24665da79cfdf9b4ce03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abeb5967e520763e8510107011f625c29"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMaterial.html#abeb5967e520763e8510107011f625c29">add_strength</a> (vector&lt; string &gt;)</td></tr>
<tr class="memdesc:abeb5967e520763e8510107011f625c29"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new Strength.  <a href="#abeb5967e520763e8510107011f625c29">More...</a><br /></td></tr>
<tr class="separator:abeb5967e520763e8510107011f625c29"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f6dc9e3ce718fd0cfdc3459729c2da5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMaterial.html#a5f6dc9e3ce718fd0cfdc3459729c2da5">add_temperature</a> (vector&lt; string &gt;)</td></tr>
<tr class="memdesc:a5f6dc9e3ce718fd0cfdc3459729c2da5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new Temperature.  <a href="#a5f6dc9e3ce718fd0cfdc3459729c2da5">More...</a><br /></td></tr>
<tr class="separator:a5f6dc9e3ce718fd0cfdc3459729c2da5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36036b04d22a2799f128b33099ff1fd2"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMaterial.html#a36036b04d22a2799f128b33099ff1fd2">find_damage</a> (string)</td></tr>
<tr class="memdesc:a36036b04d22a2799f128b33099ff1fd2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finds the ID of a Damage.  <a href="#a36036b04d22a2799f128b33099ff1fd2">More...</a><br /></td></tr>
<tr class="separator:a36036b04d22a2799f128b33099ff1fd2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00faacc9fa4e97bfb01ca5836bad60eb"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMaterial.html#a00faacc9fa4e97bfb01ca5836bad60eb">find_EOS</a> (string)</td></tr>
<tr class="memdesc:a00faacc9fa4e97bfb01ca5836bad60eb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finds the ID of an <a class="el" href="classEOS.html">EOS</a>.  <a href="#a00faacc9fa4e97bfb01ca5836bad60eb">More...</a><br /></td></tr>
<tr class="separator:a00faacc9fa4e97bfb01ca5836bad60eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa073fb4ea280f24e347bd4e627a8c167"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMaterial.html#aa073fb4ea280f24e347bd4e627a8c167">find_material</a> (string)</td></tr>
<tr class="memdesc:aa073fb4ea280f24e347bd4e627a8c167"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finds the ID of a <a class="el" href="classMaterial.html">Material</a>.  <a href="#aa073fb4ea280f24e347bd4e627a8c167">More...</a><br /></td></tr>
<tr class="separator:aa073fb4ea280f24e347bd4e627a8c167"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5166ddbe7e95ff24dfc6518f4c8fa17"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMaterial.html#af5166ddbe7e95ff24dfc6518f4c8fa17">find_strength</a> (string)</td></tr>
<tr class="memdesc:af5166ddbe7e95ff24dfc6518f4c8fa17"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finds the ID of a Strength.  <a href="#af5166ddbe7e95ff24dfc6518f4c8fa17">More...</a><br /></td></tr>
<tr class="separator:af5166ddbe7e95ff24dfc6518f4c8fa17"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca7ca123e90b73c9d61edba01aff70a7"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMaterial.html#aca7ca123e90b73c9d61edba01aff70a7">find_temperature</a> (string)</td></tr>
<tr class="memdesc:aca7ca123e90b73c9d61edba01aff70a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finds the ID of a Temperature.  <a href="#aca7ca123e90b73c9d61edba01aff70a7">More...</a><br /></td></tr>
<tr class="separator:aca7ca123e90b73c9d61edba01aff70a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ba6dc9b58ea6e687da374524afaa411"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMaterial.html#a0ba6dc9b58ea6e687da374524afaa411">Material</a> (class <a class="el" href="classMPM.html">MPM</a> *)</td></tr>
<tr class="memdesc:a0ba6dc9b58ea6e687da374524afaa411"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creator.  <a href="#a0ba6dc9b58ea6e687da374524afaa411">More...</a><br /></td></tr>
<tr class="separator:a0ba6dc9b58ea6e687da374524afaa411"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c19452d71f54075df8f5405b03129f4"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMaterial.html#a2c19452d71f54075df8f5405b03129f4">~Material</a> ()</td></tr>
<tr class="memdesc:a2c19452d71f54075df8f5405b03129f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#a2c19452d71f54075df8f5405b03129f4">More...</a><br /></td></tr>
<tr class="separator:a2c19452d71f54075df8f5405b03129f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:af0645217a47b944c4a2596c50612ea0d"><td class="memItemLeft" align="right" valign="top"><a id="af0645217a47b944c4a2596c50612ea0d"></a>
vector&lt; class Damage * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMaterial.html#af0645217a47b944c4a2596c50612ea0d">damages</a></td></tr>
<tr class="memdesc:af0645217a47b944c4a2596c50612ea0d"><td class="mdescLeft">&#160;</td><td class="mdescRight">List of defined Damage laws. <br /></td></tr>
<tr class="separator:af0645217a47b944c4a2596c50612ea0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a350a88428b56b5969aecfdea2ee31d09"><td class="memItemLeft" align="right" valign="top"><a id="a350a88428b56b5969aecfdea2ee31d09"></a>
vector&lt; class <a class="el" href="classEOS.html">EOS</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMaterial.html#a350a88428b56b5969aecfdea2ee31d09">EOSs</a></td></tr>
<tr class="memdesc:a350a88428b56b5969aecfdea2ee31d09"><td class="mdescLeft">&#160;</td><td class="mdescRight">List of defined Equations of State. <br /></td></tr>
<tr class="separator:a350a88428b56b5969aecfdea2ee31d09"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a63e9f938e2fce7913159be963044cb"><td class="memItemLeft" align="right" valign="top"><a id="a1a63e9f938e2fce7913159be963044cb"></a>
string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMaterial.html#a1a63e9f938e2fce7913159be963044cb">id</a></td></tr>
<tr class="memdesc:a1a63e9f938e2fce7913159be963044cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Identification name of the material. <br /></td></tr>
<tr class="separator:a1a63e9f938e2fce7913159be963044cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b2ef735e923b52fb66ab45885a0a5d4"><td class="memItemLeft" align="right" valign="top"><a id="a5b2ef735e923b52fb66ab45885a0a5d4"></a>
vector&lt; <a class="el" href="classMat.html">Mat</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMaterial.html#a5b2ef735e923b52fb66ab45885a0a5d4">materials</a></td></tr>
<tr class="memdesc:a5b2ef735e923b52fb66ab45885a0a5d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">List of defined materials. <br /></td></tr>
<tr class="separator:a5b2ef735e923b52fb66ab45885a0a5d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0bc8ab7effcf2b993e7b8b9474cc0bb"><td class="memItemLeft" align="right" valign="top"><a id="aa0bc8ab7effcf2b993e7b8b9474cc0bb"></a>
vector&lt; class Strength * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMaterial.html#aa0bc8ab7effcf2b993e7b8b9474cc0bb">strengths</a></td></tr>
<tr class="memdesc:aa0bc8ab7effcf2b993e7b8b9474cc0bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">List of defined Strengths. <br /></td></tr>
<tr class="separator:aa0bc8ab7effcf2b993e7b8b9474cc0bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa7abcc983539958a6c1b240ab01f36f"><td class="memItemLeft" align="right" valign="top"><a id="aaa7abcc983539958a6c1b240ab01f36f"></a>
vector&lt; class Temperature * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMaterial.html#aaa7abcc983539958a6c1b240ab01f36f">temperatures</a></td></tr>
<tr class="memdesc:aaa7abcc983539958a6c1b240ab01f36f"><td class="mdescLeft">&#160;</td><td class="mdescRight">List of defined Temperature laws. <br /></td></tr>
<tr class="separator:aaa7abcc983539958a6c1b240ab01f36f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Enumeration Documentation</h2>
<a id="aaaafdc8f9eee314481297ab859397460"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaaafdc8f9eee314481297ab859397460">&#9670;&nbsp;</a></span>constitutive_model</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classMaterial.html#aaaafdc8f9eee314481297ab859397460">Material::constitutive_model</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="aaaafdc8f9eee314481297ab859397460a2b2391eb59d443b5f234d565b0f87bba"></a>LINEAR&#160;</td><td class="fielddoc"><p>Linear elasticity. </p>
</td></tr>
<tr><td class="fieldname"><a id="aaaafdc8f9eee314481297ab859397460aeef7335a2f307bf151738e4ed5eac79b"></a>NEO_HOOKEAN&#160;</td><td class="fielddoc"><p>Neo-Hookean model. </p>
</td></tr>
<tr><td class="fieldname"><a id="aaaafdc8f9eee314481297ab859397460a248d5834afd9f38e70226a30c25c22a8"></a>SHOCK&#160;</td><td class="fielddoc"><p><a class="el" href="classEOS.html">EOS</a> + Strength or fluids. </p>
</td></tr>
<tr><td class="fieldname"><a id="aaaafdc8f9eee314481297ab859397460a2eff4c5b77d7ca1e43903011ab31e3c1"></a>RIGID&#160;</td><td class="fielddoc"><p>Rigid material. </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a0ba6dc9b58ea6e687da374524afaa411"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0ba6dc9b58ea6e687da374524afaa411">&#9670;&nbsp;</a></span>Material()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Material::Material </td>
          <td>(</td>
          <td class="paramtype">class <a class="el" href="classMPM.html">MPM</a> *&#160;</td>
          <td class="paramname"><em>mpm</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creator. </p>
<p>Creates the maps of the different known <a class="el" href="classEOS.html">EOS</a>, Strength, Damage, and Temperature. The list of these different laws are fetched in headers <a class="el" href="style__eos_8h_source.html">style_eos.h</a>, <a class="el" href="style__strength_8h_source.html">style_strength.h</a>, <a class="el" href="style__damage_8h_source.html">style_damage.h</a>, <a class="el" href="style__temperature_8h_source.html">style_temperature.h</a> </p>

</div>
</div>
<a id="a2c19452d71f54075df8f5405b03129f4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2c19452d71f54075df8f5405b03129f4">&#9670;&nbsp;</a></span>~Material()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Material::~Material </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Destructor. </p>
<p>Destroys the vectors and maps of the known <a class="el" href="classEOS.html">EOS</a>, Strength, Damage, and Temperature. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="aa48eb6c06a277342afc0d5d18e1e1ef3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa48eb6c06a277342afc0d5d18e1e1ef3">&#9670;&nbsp;</a></span>add_damage()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Material::add_damage </td>
          <td>(</td>
          <td class="paramtype">vector&lt; string &gt;&#160;</td>
          <td class="paramname"><em>args</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a new Damage. </p>
<p>This function is the C++ equivalent to the damage() user function.<br />
Syntax: damage(name, type, type specific arguments)<br />
This function checks if the damage name was already used.<br />
If not, it creates an entry in the vector <a class="el" href="classMaterial.html#af0645217a47b944c4a2596c50612ea0d" title="List of defined Damage laws. ">Material::damages</a> and calls Damage::Damage() </p>

</div>
</div>
<a id="a78f141aa4bab81408ab06015bd908993"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a78f141aa4bab81408ab06015bd908993">&#9670;&nbsp;</a></span>add_EOS()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Material::add_EOS </td>
          <td>(</td>
          <td class="paramtype">vector&lt; string &gt;&#160;</td>
          <td class="paramname"><em>args</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a new <a class="el" href="classEOS.html">EOS</a>. </p>
<p>This function is the C++ equivalent to the eos() user function.<br />
Syntax: eos(name, type, type specific arguments)<br />
This function checks if the <a class="el" href="classEOS.html">EOS</a> name was already used.<br />
If not, it creates an entry in the vector <a class="el" href="classMaterial.html#a350a88428b56b5969aecfdea2ee31d09" title="List of defined Equations of State. ">Material::EOSs</a> and calls EOS::EOS() </p>

</div>
</div>
<a id="a9e2635c9cb9e24665da79cfdf9b4ce03"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9e2635c9cb9e24665da79cfdf9b4ce03">&#9670;&nbsp;</a></span>add_material()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Material::add_material </td>
          <td>(</td>
          <td class="paramtype">vector&lt; string &gt;&#160;</td>
          <td class="paramname"><em>args</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a new <a class="el" href="classMaterial.html">Material</a>. </p>
<p>This function is the C++ equivalent to the eos() user function.<br />
Syntax: eos(name, type, type specific arguments)<br />
This function checks if the <a class="el" href="classEOS.html">EOS</a> name was already used.<br />
If not, it creates an entry in the vector <a class="el" href="classMaterial.html#a350a88428b56b5969aecfdea2ee31d09" title="List of defined Equations of State. ">Material::EOSs</a> and calls EOS::EOS() </p>

</div>
</div>
<a id="abeb5967e520763e8510107011f625c29"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abeb5967e520763e8510107011f625c29">&#9670;&nbsp;</a></span>add_strength()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Material::add_strength </td>
          <td>(</td>
          <td class="paramtype">vector&lt; string &gt;&#160;</td>
          <td class="paramname"><em>args</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a new Strength. </p>
<p>This function is the C++ equivalent to the strength() user function.<br />
Syntax: strength(name, type, type specific arguments)<br />
This function checks if the Strength name was already used.<br />
If not, it creates an entry in the vector <a class="el" href="classMaterial.html#aa0bc8ab7effcf2b993e7b8b9474cc0bb" title="List of defined Strengths. ">Material::strengths</a> and calls Strength::Strength() </p>

</div>
</div>
<a id="a5f6dc9e3ce718fd0cfdc3459729c2da5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5f6dc9e3ce718fd0cfdc3459729c2da5">&#9670;&nbsp;</a></span>add_temperature()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Material::add_temperature </td>
          <td>(</td>
          <td class="paramtype">vector&lt; string &gt;&#160;</td>
          <td class="paramname"><em>args</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a new Temperature. </p>
<p>This function is the C++ equivalent to the temperature() user function.<br />
Syntax: temperature(name, type, type specific arguments)<br />
This function checks if the Temperature name was already used.<br />
If not, it creates an entry in the vector <a class="el" href="classMaterial.html#aaa7abcc983539958a6c1b240ab01f36f" title="List of defined Temperature laws. ">Material::temperatures</a> and calls Temperature::Temperature() </p>

</div>
</div>
<a id="a36036b04d22a2799f128b33099ff1fd2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a36036b04d22a2799f128b33099ff1fd2">&#9670;&nbsp;</a></span>find_damage()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Material::find_damage </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Finds the ID of a Damage. </p>
<p>This function checks if 'name' is already used for a Damage.<br />
If a Damage named 'name' exists, it returns its ID. It returns -1 otherwise. </p>

</div>
</div>
<a id="a00faacc9fa4e97bfb01ca5836bad60eb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a00faacc9fa4e97bfb01ca5836bad60eb">&#9670;&nbsp;</a></span>find_EOS()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Material::find_EOS </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Finds the ID of an <a class="el" href="classEOS.html">EOS</a>. </p>
<p>This function checks if 'name' is already used for an <a class="el" href="classEOS.html">EOS</a>.<br />
If an <a class="el" href="classEOS.html">EOS</a> named 'name' exists, it returns its ID. It returns -1 otherwise. </p>

</div>
</div>
<a id="aa073fb4ea280f24e347bd4e627a8c167"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa073fb4ea280f24e347bd4e627a8c167">&#9670;&nbsp;</a></span>find_material()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Material::find_material </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Finds the ID of a <a class="el" href="classMaterial.html">Material</a>. </p>
<p>This function checks if 'name' is already used for a <a class="el" href="classMaterial.html">Material</a>.<br />
If a <a class="el" href="classMaterial.html">Material</a> named 'name' exists, it returns its ID. It returns -1 otherwise. </p>

</div>
</div>
<a id="af5166ddbe7e95ff24dfc6518f4c8fa17"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af5166ddbe7e95ff24dfc6518f4c8fa17">&#9670;&nbsp;</a></span>find_strength()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Material::find_strength </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Finds the ID of a Strength. </p>
<p>This function checks if 'name' is already used for a Strength.<br />
If a Strength named 'name' exists, it returns its ID. It returns -1 otherwise. </p>

</div>
</div>
<a id="aca7ca123e90b73c9d61edba01aff70a7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aca7ca123e90b73c9d61edba01aff70a7">&#9670;&nbsp;</a></span>find_temperature()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Material::find_temperature </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Finds the ID of a Temperature. </p>
<p>This function checks if 'name' is already used for an <a class="el" href="classEOS.html">EOS</a>.<br />
If an <a class="el" href="classEOS.html">EOS</a> named 'name' exists, it returns its ID. It returns -1 otherwise. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="material_8h_source.html">material.h</a></li>
<li>material.cpp</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="classMaterial.html">Material</a></li>
    <li class="footer">Generated on Tue Jul 7 2020 22:31:23 for Karamelo by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
<!-- Matomo -->
<script type="text/javascript">
  var _paq = _paq || [];
  /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
  _paq.push(['trackPageView']);
  _paq.push(['enableLinkTracking']);
  (function() {
    var u="//stats.sylphide-consulting.com/matomo/";
    _paq.push(['setTrackerUrl', u+'piwik.php']);
    _paq.push(['setSiteId', '20']);
    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
    g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
  })();
</script>
<noscript><p><img src="//stats.sylphide-consulting.com/matomo/piwik.php?idsite=20&rec=1" style="border:0;" alt="" /></p></noscript>
<!-- End Matomo Code -->
</body>
</html>
